#include <iostream>
#include <malloc.h>
using namespace std;
#define MAXSIZE 20

typedef struct
{
	char str[MAXSIZE + 1];
	int length;
}Str;

int main(void)
{
	Str S;
	S.length = 10;
	S.str = (char *)malloc((S.length + 1)*sizeof(char));
	

}
